package com.wl.dzt.basic.entity;
import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wl.dzt.basic.entity.BasicPosition ;
import com.wl.dzt.basic.entity.BasicOrganization ;

import java.io.Serializable;
import java.util.Date ;

@ApiModel("BasicUser")
@Table("basic_user")
public class BasicUser implements Serializable {

	@ApiModelProperty(value="QQ号码",name="qq")
	@Column(value="qq",text="QQ号码",maxLength=100)
	private String qq ;
	

	@ApiModelProperty(value="账户名",name="uname")
	@Column(value="uname",text="账户名",maxLength=100)
	private String uname ;
	

	@ApiModelProperty(value="工号",name="workNo")
	@Column(value="work_no",text="工号",maxLength=50)
	private String workNo ;
	

	@ApiModelProperty(value="所属企业域",name="areaId")
	@Column(value="area_id",text="所属企业域",maxLength=32)
	private BasicOrganization areaId ;
	

	@ApiModelProperty(value="用户图片",name="userImg")
	@Column(value="user_img",text="用户图片",maxLength=1073741823)
	private String userImg ;
	

	@ApiModelProperty(value="手机号",name="phone")
	@Column(value="phone",text="手机号",maxLength=30)
	private String phone ;
	

	@ApiModelProperty(value="身份证",name="idcard")
	@Column(value="idcard",text="身份证",maxLength=15)
	private String idcard ;
	

	@ApiModelProperty(value="姓名",name="name")
	@Column(value="name",text="姓名",maxLength=20)
	private String name ;
	

	@ApiModelProperty(value="编号",name="id")
	@Column(value="id",text="编号",maxLength=32)
	private String id ;
	

	@ApiModelProperty(value="状态",name="state")
	@Column(value="state",text="状态",maxLength=10)
	private String state ;
	

	@ApiModelProperty(value="密码",name="pwd")
	@Column(value="pwd",text="密码",maxLength=100)
	private String pwd ;
	

	@ApiModelProperty(value="创建时间",name="createDate")
	@Column(value="create_date",text="创建时间",maxLength=13)
	private Date createDate ;
	

	@ApiModelProperty(value="邮箱",name="email")
	@Column(value="email",text="邮箱",maxLength=100)
	private String email ;
	

	@ApiModelProperty(value="所属机构",name="organId")
	@Column(value="organ_id",text="所属机构",maxLength=32)
	private BasicOrganization organId ;
	

	@ApiModelProperty(value="所属岗位",name="positionId")
	@Column(value="position_id",text="所属岗位",maxLength=32)
	private BasicPosition positionId ;
	
	public String getQq() {
		return qq ;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getUname() {
		return uname ;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}
	public String getWorkNo() {
		return workNo ;
	}

	public void setWorkNo(String workNo) {
		this.workNo = workNo;
	}
	public BasicOrganization getAreaId() {
		return areaId ;
	}

	public void setAreaId(BasicOrganization areaId) {
		this.areaId = areaId;
	}
	public String getUserImg() {
		return userImg ;
	}

	public void setUserImg(String userImg) {
		this.userImg = userImg;
	}
	public String getPhone() {
		return phone ;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getIdcard() {
		return idcard ;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	public String getName() {
		return name ;
	}

	public void setName(String name) {
		this.name = name;
	}
	public String getId() {
		return id ;
	}

	public void setId(String id) {
		this.id = id;
	}
	public String getState() {
		return state ;
	}

	public void setState(String state) {
		this.state = state;
	}
	public String getPwd() {
		return pwd ;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public Date getCreateDate() {
		return createDate ;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getEmail() {
		return email ;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	public BasicOrganization getOrganId() {
		return organId ;
	}

	public void setOrganId(BasicOrganization organId) {
		this.organId = organId;
	}
	public BasicPosition getPositionId() {
		return positionId ;
	}

	public void setPositionId(BasicPosition positionId) {
		this.positionId = positionId;
	}
}
